package com.omt.tarjimdinek.web.member;

import java.util.Date;
import java.util.List;

import com.omt.tarjimdinek.domain.tv.entity.Chaine;
import com.omt.tarjimdinek.domain.tv.entity.Theme;

/**
 * Criteria of submit request page
 * @author chabane
 *
 */
public class SubmittingRequestCriteria {

	private String youtubeLink;

	private String youtubeLinkShowing;
	
	private Theme theme;
	
	private Chaine channel;
	
	private Date diffused;
	
	private List<String> listContributors;
	
	private List<OriginalTextVideo> listOriginalTextVideo;

	
	/**
	 * @return the youtubeLink
	 */
	public String getYoutubeLink() {
		return youtubeLink;
	}

	/**
	 * @param youtubeLink the youtubeLink to set
	 */
	public void setYoutubeLink(String youtubeLink) {
		this.youtubeLink = youtubeLink;
	}

	/**
	 * @return the theme
	 */
	public Theme getTheme() {
		return theme;
	}

	/**
	 * @param theme the theme to set
	 */
	public void setTheme(Theme theme) {
		this.theme = theme;
	}

	/**
	 * @return the channel
	 */
	public Chaine getChannel() {
		return channel;
	}

	/**
	 * @param channel the channel to set
	 */
	public void setChannel(Chaine channel) {
		this.channel = channel;
	}

	/**
	 * @return the diffused
	 */
	public Date getDiffused() {
		return diffused;
	}

	/**
	 * @param diffused the diffused to set
	 */
	public void setDiffused(Date diffused) {
		this.diffused = diffused;
	}

	/**
	 * @return the listContributors
	 */
	public List<String> getListContributors() {
		return listContributors;
	}

	/**
	 * @param listContributors the listContributors to set
	 */
	public void setListContributors(List<String> listContributors) {
		this.listContributors = listContributors;
	}

	/**
	 * @return the listOriginalTextVideo
	 */
	public List<OriginalTextVideo> getListOriginalTextVideo() {
		return listOriginalTextVideo;
	}

	/**
	 * @param listOriginalTextVideo the listOriginalTextVideo to set
	 */
	public void setListOriginalTextVideo(
			List<OriginalTextVideo> listOriginalTextVideo) {
		this.listOriginalTextVideo = listOriginalTextVideo;
	}

	/**
	 * @return the youtubeLinkShowing
	 */
	public String getYoutubeLinkShowing() {
		return youtubeLinkShowing;
	}

	/**
	 * @param youtubeLinkShowing the youtubeLinkShowing to set
	 */
	public void setYoutubeLinkShowing(String youtubeLinkShowing) {
		this.youtubeLinkShowing = youtubeLinkShowing;
	}
	
	/** 
	 * Remove an original text
	 * @param aOriginalTextVideo
	 */
	public void removeOriginalText(OriginalTextVideo aOriginalTextVideo){
		this.getListOriginalTextVideo().remove(aOriginalTextVideo);
	}
	
	/**
	 * Add an origianl text
	 */
	public void addOriginalText(){
		this.getListOriginalTextVideo().add(new OriginalTextVideo());
	}
}
